extends layout

block headContent
	title Bitcoin Whitepaper

block content
	+pageTitle("Bitcoin Whitepaper", "(Extracted from the blockchain!)")

	+dismissableInfoAlert("whitepaperPageNoteDismissed", "About the Bitcoin Whitepaper Tool...")
		p Below is the Bitcoin whitepaper, extracted from data in the Bitcoin blockchain (transaction 
			a(href="./tx/54e48e5f5c656b26c3bca14a8c95aa583d07ebe84dde3b7dd4a78f4e4186e713") 54e48e5f5c6…
			span.ms-2 to be precise), served by your <b>Bitcoin Core</b> node.

		div The data has been decoded by this tool and is displayed in an iframe below. You can view it directly and/or download it at 
			a(href="./bitcoin.pdf") /bitcoin.pdf
			|.

	if (global.activeBlockchain == "main")
		iframe(src="./bitcoin.pdf", title="The Bitcoin Whitepaper", style="width: 100%;", height="800")

	else
		+warningAlert
			.mb-2 Whoops! The Bitcoin Whitepaper is embedded in a particular transaction in the mainnet blockchain. It looks like this node is configured for a different network, so the data is not available to be extracted.
			| Try running a mainnet node to use this tool.
